package cn.itmantzy.user.mapper;

import cn.itmantzy.basic.mapper.BaseMapper;
import cn.itmantzy.user.domain.Logininfo;
import cn.itmantzy.user.dto.LoginDto;

public interface LogininfoMapper extends BaseMapper<Logininfo>{

    Logininfo loadByUserId(Long user_id);

    /**
     * 根据用户名查询用户登录信息
     * @param dto
     * @return
     */
    Logininfo loadByUsername(LoginDto dto);
}
